const DeviceListType = {
  RECYCLE: "RECYCLE", // 回收
  MAINTAIN: "MAINTAIN", // 维修
};

const H5Type = {
  HELPCENTER: "HELPCENTER",
  ABOUTUS: "ABOUTUS",
};

const EditType = {
  EDIT: "EDIT",
  NEW: "NEW",
};

const ServiceTypeTexts = {
  1: "上门",
  2: "寄送",
  3: "到店",
};

const RecycleTypeFullTexts = {
  1: "上门回收",
  2: "寄送回收",
  3: "到店回收",
};

const OrderType = {
  RECYCLE: "RECYCLE", // 回收
  UPDATE: "UPDATE", // 升级
  SERVICE: "SERVICE", // 维修
};

const OrderStatus = {
  wait_subscribe: "wait_subscribe", // 已提交（待预约）
  wait_delivery: "wait_delivery", // ：已预约（待收货）
  wait_pay: "wait_pay", // 已收货（待支付）
  end: "end", // 完成
};

const OrderStatusTexts = {
  wait_subscribe: "待确认", // 已提交（待预约）
  wait_delivery: "待上门", // ：已预约（待收货）
  wait_pay: "待支付", // 已收货（待支付）
  end: "已完成", // 完成
};

const ToubleList = [
  {
    service_id: 1,
    service_name: "屏幕维修",
    service_tag: "screen",
    service_description: "屏幕碎裂、屏幕不亮、触控失灵等",
  },
  {
    service_id: 2,
    service_name: "按键维修",
    service_tag: "keypad",
    service_description: "开机键、音量键、home键按失灵，键手感变差、塌陷",
  },
  {
    service_id: 3,
    service_name: "外壳/后盖维修",
    service_tag: "shell",
    service_description: "外壳边框变形，磨损，后玻璃更换",
  },
  {
    service_id: 4,
    service_name: "声音维修",
    service_tag: "voice",
    service_description: "手机外放无声音，声音小，有杂音",
  },
  {
    service_id: 5,
    service_name: "摄像/照相维修",
    service_tag: "camera",
    service_description: "前置/后置摄像头无法打开、无法对焦",
  },
  {
    service_id: 6,
    service_name: "电池/不开机维修",
    service_tag: "battery",
    service_description: "专业检测手机不开机等故障",
  },
  {
    service_id: 7,
    service_name: "其他维修",
    service_tag: "other",
    service_description: "无WiFi、刷机、软件、数据备份、无震动故障等",
  },
];

export default {
  DeviceListType,
  H5Type,
  ToubleList,
  EditType,
  OrderType,
  OrderStatus,
  ServiceTypeTexts,
  OrderStatusTexts,
  RecycleTypeFullTexts,
};
